package com.witmed.user.intent

import okhttp3.RequestBody

sealed class UserIntent {
//    注册意图
    data class register(val username:String,val password:String):UserIntent()
//发送注册验证码意图
    data class sendRegCode(val phone:String):UserIntent()

    //    验证码注册意图
    data class registerCode(val body:RequestBody):UserIntent()

    //    登录意图
    data class login(val username:String,val password:String):UserIntent()
}